package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 技师入住表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:08
 */
@Getter
@Setter
@TableName("t_recruitment")
@ApiModel(value = "Recruitment对象", description = "技师入住表")
public class Recruitment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("应聘技师表pk")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户表pk")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("工作城市")
    @TableField("work_city")
    private String workCity;

    @ApiModelProperty("姓名")
    @TableField("recruitment_name")
    private String recruitmentName;

    @ApiModelProperty("年龄")
    @TableField("recruitment_age")
    private Integer recruitmentAge;

    @ApiModelProperty("性别")
    @TableField("recruitment_sex")
    private String recruitmentSex;

    @ApiModelProperty("应聘技师手机号")
    @TableField("recruitment_tel")
    private String recruitmentTel;

    @ApiModelProperty("接单区域")
    @TableField("receiving_area")
    private String receivingArea;

    @ApiModelProperty("工作经验")
    @TableField("work_experience")
    private String workExperience;

    @ApiModelProperty("身份证号")
    @TableField("recruitment_real_num")
    private String recruitmentRealNum;

    @ApiModelProperty("正面照片")
    @TableField("front_photo")
    private String frontPhoto;

    @ApiModelProperty("身份证正反面照片")
    @TableField("id_card_photo")
    private String idCardPhoto;

    @ApiModelProperty("审核状态（0=审核中 1=审核成功 2=审核失败）")
    @TableField("audit_status")
    private Integer auditStatus;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
